package dom.bean;

public class News {
	public int id; 
	private String title;
	private String author;
	private String content;
	private String date;

	
	public News(){
		super();
	}
	public void setID(int id){
		this.id=id;
	}
	public void setTitle(String title){
		this.title=title;
	}
	public void setAuthor(String author){
		this.author=author;
	}
	public void setContent(String content){
		this.content=content;
	}
	public void setDate(String date){
		this.date=date;
	}
	public int getID(){
		return this.id;
	}
	public String getTitle(){
		return this.title;
	}
	public String getAuthor(){
		return this.author;
	}
	public String getContent(){
		return this.content;
	}
	public String getDate(){
		return this.date;
	}
}